package com.example.demo.repository.mapper;

import com.example.demo.repository.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user where id = #{id}")
    UserEntity selectUserById(@Param("id") long id);

}
